package cn.source.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.source.common.annotation.Excel;
import cn.source.common.core.domain.BaseEntity;

/**
 * 文章内容对象 art_content
 * 
 * @author ZZROOT
 * @date 2024-11-09
 */
public class ArtContent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 文章信息表ID */
    @Excel(name = "文章信息表ID")
    private Long artInforId;

    /** 文章内容 */
    @Excel(name = "文章内容")
    private String content;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private Long extend1;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private Long extend2;

    /** 扩展字段3 */
    @Excel(name = "扩展字段3")
    private String extend3;

    /** 扩展字段4 */
    @Excel(name = "扩展字段4")
    private String extend4;

    /** 扩展字段5 */
    @Excel(name = "扩展字段5")
    private String extend5;

    /** 扩展字段6 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "扩展字段6", width = 30, dateFormat = "yyyy-MM-dd")
    private Date extend6;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setArtInforId(Long artInforId) 
    {
        this.artInforId = artInforId;
    }

    public Long getArtInforId() 
    {
        return artInforId;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setExtend1(Long extend1) 
    {
        this.extend1 = extend1;
    }

    public Long getExtend1() 
    {
        return extend1;
    }
    public void setExtend2(Long extend2) 
    {
        this.extend2 = extend2;
    }

    public Long getExtend2() 
    {
        return extend2;
    }
    public void setExtend3(String extend3) 
    {
        this.extend3 = extend3;
    }

    public String getExtend3() 
    {
        return extend3;
    }
    public void setExtend4(String extend4) 
    {
        this.extend4 = extend4;
    }

    public String getExtend4() 
    {
        return extend4;
    }
    public void setExtend5(String extend5) 
    {
        this.extend5 = extend5;
    }

    public String getExtend5() 
    {
        return extend5;
    }
    public void setExtend6(Date extend6) 
    {
        this.extend6 = extend6;
    }

    public Date getExtend6() 
    {
        return extend6;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("artInforId", getArtInforId())
            .append("content", getContent())
            .append("extend1", getExtend1())
            .append("extend2", getExtend2())
            .append("extend3", getExtend3())
            .append("extend4", getExtend4())
            .append("extend5", getExtend5())
            .append("extend6", getExtend6())
            .toString();
    }
}
